package api.result;

import java.io.Serializable;

/**
 * Copyright (c)  by www.leya920.com
 * All right reserved.
 * Create Date: 2020-11-21 15:37
 * Create Author: xuweiwei
 * File Name: Result.java
 * Last version:  1.0
 * Function: //TODO
 * Last Update Date: 2020-11-21 15:37
 * Last Update Log:
 * Comment: //TODO
 **/
public class Result<T> implements Serializable {


    private static final long serialVersionUID = -8887994215673592518L;

    private T data;

    private boolean isSuccess;

    private String msg;

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

    public boolean isSuccess() {
        return isSuccess;
    }

    public void setSuccess(boolean success) {
        isSuccess = success;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
